import java.util.Arrays;
public class shuxu {
	public static void main(String[] args) {
		int a[]={20,10,50,40,30,70,60,80,100};
		Arrays.sort(a);
		for(int i=a.length-1;i>=0;i--){
			System.out.println(a[i]);
		}
	}
}
